package com.aliyun.messagemgt.dto.vo.weixin;

/**
 * Created with IDEA
 * 微信返回参数类型
 *
 * @author:zhangxingxing 0027012120
 * @date:2019/1/25
 * @time:9:36
 */
public class WeixinReturnModelVO {

    private Integer errcode;
    private String errmsg;
    private String accessToken;
    private Integer expiresIn;
    private String invaliduser;
    private String invalidparty;
    private String invalidtag;
    private String userid;
    private String chatid;

    public String getChatid() {
        return chatid;
    }

    public WeixinReturnModelVO setChatid(String chatid) {
        this.chatid = chatid;
        return this;
    }

    public String getUserid() {
        return userid;
    }

    public WeixinReturnModelVO setUserid(String userid) {
        this.userid = userid;
        return this;
    }


    public Integer getErrcode() {
        return errcode;
    }

    public WeixinReturnModelVO setErrcode(Integer errcode) {
        this.errcode = errcode;
        return this;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public WeixinReturnModelVO setErrmsg(String errmsg) {
        this.errmsg = errmsg;
        return this;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public WeixinReturnModelVO setAccessToken(String accessToken) {
        this.accessToken = accessToken;
        return this;
    }

    public Integer getExpiresIn() {
        return expiresIn;
    }

    public WeixinReturnModelVO setExpiresIn(Integer expiresIn) {
        this.expiresIn = expiresIn;
        return this;
    }

    public String getInvaliduser() {
        return invaliduser;
    }

    public WeixinReturnModelVO setInvaliduser(String invaliduser) {
        this.invaliduser = invaliduser;
        return this;
    }

    public String getInvalidparty() {
        return invalidparty;
    }

    public WeixinReturnModelVO setInvalidparty(String invalidparty) {
        this.invalidparty = invalidparty;
        return this;
    }

    public String getInvalidtag() {
        return invalidtag;
    }

    public WeixinReturnModelVO setInvalidtag(String invalidtag) {
        this.invalidtag = invalidtag;
        return this;
    }


    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("WeixinReturnModelVO{");
        sb.append("errcode=").append(errcode);
        sb.append(", errmsg='").append(errmsg).append('\'');
        sb.append(", access_token='").append(accessToken).append('\'');
        sb.append(", expires_in='").append(expiresIn).append('\'');
        sb.append(", invaliduser='").append(invaliduser).append('\'');
        sb.append(", invalidparty='").append(invalidparty).append('\'');
        sb.append(", invalidtag='").append(invalidtag).append('\'');
        sb.append(", userid='").append(userid).append('\'');
        sb.append(", chatid='").append(chatid).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
